﻿using System.Collections.Generic;

namespace WSU.PMP.BE.DATA.Abstract
{
    using WSU.PMP.BE.DATA.EF;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public interface IItem
    {
        EfItem getItemByBarcode(string barcode);

        EfItem getItemByName(string name);

        List<EfItem> getItemsByName(string name);

        List<EfItem> getItemsByType(string type);

        List<EfItem> getItemsByCost(string min, string max);

        void addItem(EfItem item);

        void editItem(EfItem item);

        void deleteItem(EfItem item);
    }
}
